<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddQqRegisteredCountToSitestatusesTable extends Migration
{

    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('site_statuses', function (Blueprint $table)  {
            $table->integer('qq_registered_count')->unsigned()->default(0);
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('site_statuses', function (Blueprint $table) {
            Schema::dropColumn('qq_registered_count');
        });

    }
}
